import { RouteView } from '@/layouts'
export default [
  {
    path: '/chartGpt',
    name: 'chartGpt',
    component: RouteView,
    redirect: '/chartGpt/moban',
    meta: { title: 'GPT问答专区', icon: 'profile', permission: ['GPT'] },
    children: [
      {
        path: '/chartGpt/moban',
        component: () => import('@/views/chartGpt/moban'),
        name: 'chartGptMoban',
        meta: { title: '模版专区', permission: ['GPT'] },
      },

      {
        path: '/chartGpt/mobanCat',
        component: () => import('@/views/chartGpt/mobanCat'),
        name: 'chartGptMobanCat',
        meta: { title: '模版分类', permission: ['GPT'] },
      },
      {
        path: '/chartGpt/pay',
        component: () => import('@/views/chartGpt/pay'),
        name: 'chartGptPay',
        meta: { title: '充值套餐', permission: ['GPT'] },
      },
      {
        path: '/chartGpt/payList',
        component: () => import('@/views/chartGpt/payList'),
        name: 'payList',
        meta: { title: '充值记录', permission: ['GPT'] },
      },
      {
        path: '/chartGpt/qaList',
        component: () => import('@/views/chartGpt/qaList'),
        name: 'qaList',
        meta: { title: '问答记录', permission: ['GPT'] },
      },
      {
        path: '/chartGpt/setting',
        component: () => import('@/views/chartGpt/setting'),
        name: 'setting',
        meta: { title: '规则设置', permission: ['GPT'] },
      },

      {
        path: '/chartGpt/adSetting',
        component: () => import('@/views/chartGpt/adSetting'),
        name: 'adSetting',
        meta: { title: '广告设置', permission: ['GPT'] },
      },
      {
        path: '/chartGpt/adList',
        component: () => import('@/views/chartGpt/adList'),
        name: 'adList',
        meta: { title: '广告记录', permission: ['GPT'] },
      },
    ],
  },
]
